package com.xrtn.mapper;

import com.xrtn.bean.TReplyInfo;

import java.util.List;
import java.util.Map;

public interface TReplyInfoMapper {
    int deleteByPrimaryKey(Integer replyId);

    int insert(TReplyInfo record);

    int insertSelective(TReplyInfo record);

    TReplyInfo selectByPrimaryKey(Integer replyId);

    /**
     * 获取员工评价列表
     */
    List<Map<String,Object>> selectUserReplyList(Map<String,Object> params);
    /**
     * 获取员工满意度比率
     * @param doctorId
     * @return
     */
    Integer selectUserReplyRatio(Integer doctorId);

    int updateByPrimaryKeySelective(TReplyInfo record);

    int updateByPrimaryKey(TReplyInfo record);
}